home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
PROBLEMS
/
BENCHMARK
/
ARMSI346
/
!ArmSI
/
Makefile
< prev
Wrap
Makefile
|
1993-08-16
|
1KB
|
52 lines
# Project name: Dhry
# AMU Makefile for Dhrystone for SI application
# By Nick Smith, 1992
# Can set the following defines ;
# -DREG=register (uses register class variables in places)
# -DSILENT (doesn't output anything except <ArmSI$Dhrystone>)
# -DNORUNS=value (number of runs for silent mode. eg, 10000)
# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback -DMSC_CLOCK -DHZ=100 -DSILENT -DNORUNS=75000 -w -ff
Linkflags = -aif -o
ObjAsmflags = -depend !Depend -Stamp -quit -CloseExec
Squeezeflags = -o
# Dependencies
# system libraries
LDLIBS = c:o.Stubs
# user libraries
USRLIBS=
# source files (independently compilable files)
SOURCES= dhry_1.c dhry_2.c
# application object files
OBJECTS= dhry_1.o dhry_2.o
# Targets
all: Resources.Dhrystone Resources.Flops20
Resources.Dhrystone: $(OBJECTS)
link $(Linkflags) Resources.Dhrystones $(OBJECTS) $(USRLIBS) $(LDLIBS)
squeeze Resources.Dhrystones
Resources.Flops20: flops20d.o
link $(Linkflags) Resources.Flops20 Flops20d.o $(USRLIBS) $(LDLIBS)
squeeze Resources.Flops20
.SUFFIXES: .o .c
.c.o:; cc $(CCflags) -o $@ $<
# Dynamic dependencies:
o.flops20: c.flops20d
o.dhry_1: c.dhry_1
o.dhry_1: h.dhry
o.dhry_2: c.dhry_2
o.dhry_2: h.dhry
o.flops20d: c.flops20d